import {
	JETPACK_TAG_FOR_ALL_SITES,
	JETPACK_TAG_FOR_SMALL_SITES,
	JETPACK_TAG_FOR_BLOGGERS,
	JETPACK_TAG_FOR_BLOGS,
	JETPACK_TAG_FOR_EDUCATORS,
	JETPACK_TAG_FOR_MEMBERSHIP_SITES,
	JETPACK_TAG_FOR_NEWS_ORGANISATIONS,
	JETPACK_TAG_FOR_ONLINE_FORUMS,
	JETPACK_TAG_FOR_VIDEOGRAPHERS,
	JETPACK_TAG_FOR_WOOCOMMERCE_STORES,
} from '@automattic/calypso-products';
import { ReactJSXElement } from '@emotion/react/types/jsx-namespace';

export const Tags: Record< string, ReactJSXElement > = {
	[ JETPACK_TAG_FOR_WOOCOMMERCE_STORES ]: (
		<svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				fillRule="evenodd"
				clipRule="evenodd"
				d="M12.7619 5.33333H13.7143V3.55581L12.8571 0H0.857143L0 3.55581V5.33333H0.952381V12H12.7619V5.33333ZM11.619 5.33333H2.09524V10.8571H5.33333V6.85714H8.38095V10.8571H11.619V5.33333ZM7.42857 1.14286H9.00343L9.37371 3.61143L9.39505 4.19048H7.42857V1.14286ZM4.71086 1.14286H6.28571V4.19048H4.31924L4.34057 3.61143L4.71086 1.14286V1.14286ZM10.5128 3.50476L10.1592 1.14286H11.9573L12.5714 3.69143V4.19048H10.5387L10.5128 3.50476V3.50476ZM3.55505 1.14286H1.75695L1.14286 3.69143V4.19048H3.17562L3.20152 3.50476L3.55505 1.14286Z"
				fill="#3C434A"
			/>
		</svg>
	),
	[ JETPACK_TAG_FOR_NEWS_ORGANISATIONS ]: (
		<svg width="11" height="12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				d="M1.827 7.188h3.655v-.914H1.827v.914Zm6.7 1.34v-7.31C8.528.548 7.98 0 7.31 0H1.218C.548 0 0 .548 0 1.218v7.31c0 .67.548 1.218 1.218 1.218H7.31c.67 0 1.218-.548 1.218-1.218Zm-7.613 0v-7.31c0-.182.122-.304.304-.304H7.31c.182 0 .304.122.304.304v7.31c0 .183-.122.304-.304.304H1.218c-.182 0-.304-.121-.304-.304Zm.913-3.35h4.874v-.914H1.827v.914Zm0-2.01h4.874v-.853H1.827v.853Zm8.041-.731v7.918a.74.74 0 0 1-.73.731H2.436V12h6.7c.914 0 1.645-.731 1.645-1.706V2.437h-.914Z"
				fill="#3c434a"
			/>
		</svg>
	),
	[ JETPACK_TAG_FOR_MEMBERSHIP_SITES ]: (
		<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				d="M0 12H6.75V10.875H0V12ZM0 7.875V9H12V7.875H0ZM0.6 4.875L1.125 5.4L2.625 3.9V6H3.375V3.9L4.875 5.4L5.4 4.875L3.9 3.375H6V2.625H3.9L5.4 1.125L4.875 0.6L3.375 2.1V0H2.625V2.1L1.125 0.6L0.6 1.125L2.1 2.625H0V3.375H2.1L0.6 4.875Z"
				fill="#3C434A"
			/>
		</svg>
	),
	[ JETPACK_TAG_FOR_ONLINE_FORUMS ]: (
		<svg width="11" height="12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				d="M5.934 2.637H0v.99h5.934v-.99ZM0 0v.989h10.55V0H0Zm5.934 5.275H.66c-.395 0-.659.263-.659.66v5.472c0 .197.132.461.396.527.066.066.131.066.197.066.132 0 .33-.066.396-.198l1.187-1.187h3.758c.396 0 .66-.263.66-.659V5.934c0-.396-.264-.66-.66-.66Zm-.33 4.351H1.78l-.791.792V6.264h4.615v3.362Z"
				fill="#3c434a"
			/>
		</svg>
	),
	[ JETPACK_TAG_FOR_BLOGS ]: (
		<svg width="11" height="12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				fillRule="evenodd"
				clipRule="evenodd"
				d="M4 1.667a.667.667 0 1 1-1.333 0 .667.667 0 0 1 1.333 0Zm1 0a1.667 1.667 0 1 1-3.333 0 1.667 1.667 0 0 1 3.333 0Zm1.5 5V6a1.833 1.833 0 0 0-1.833-1.833H2A1.833 1.833 0 0 0 .167 6v.667h1V6c0-.46.373-.833.833-.833h2.667c.46 0 .833.373.833.833v.667h1ZM0 12h6v-1H0v1Zm10.667-2.667H0v-1h10.667v1Z"
				fill="#3c434a"
			/>
		</svg>
	),
	[ JETPACK_TAG_FOR_VIDEOGRAPHERS ]: (
		<svg width="12" height="12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				d="M10.467 0H1.533C.667 0 0 .667 0 1.533v8.934C0 11.333.667 12 1.533 12h8.934c.866 0 1.533-.667 1.533-1.533V1.533C12 .667 11.333 0 10.467 0ZM11 10.467c0 .266-.267.533-.533.533H1.533C1.267 11 1 10.733 1 10.467V1.533C1 1.267 1.267 1 1.533 1h8.934c.266 0 .533.267.533.533v8.934ZM4.667 8 8 6 4.667 4v4Z"
				fill="#3c434a"
			/>
		</svg>
	),
	[ JETPACK_TAG_FOR_EDUCATORS ]: (
		<svg width="12" height="12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				d="M6 0 0 2.925V12h12V2.925L6 0Zm4.875 10.875H7.5V6.75h-3v4.125H1.125V3.6L6 1.275 10.875 3.6v7.275Z"
				fill="#3c434a"
			/>
		</svg>
	),
	[ JETPACK_TAG_FOR_BLOGGERS ]: (
		<svg width="12" height="12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				fillRule="evenodd"
				clipRule="evenodd"
				d="M2.438 9.328a4.875 4.875 0 1 1 7.124 0V9A2.063 2.063 0 0 0 7.5 6.937h-3A2.063 2.063 0 0 0 2.437 9v.328Zm1.124.895c.741.428 1.582.653 2.438.652a4.852 4.852 0 0 0 2.438-.652V9a.938.938 0 0 0-.938-.938h-3A.938.938 0 0 0 3.562 9v1.223ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm7.5-1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"
				fill="#3c434a"
			/>
		</svg>
	),
	agencies: (
		<svg width="13" height="12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				d="M7.725 2.167 9.69.202A3.478 3.478 0 0 0 5.163 4.38L.53 9.01a1.739 1.739 0 1 0 2.458 2.458l4.633-4.632A3.477 3.477 0 0 0 11.8 2.31L9.833 4.274 8.171 3.83l-.446-1.662Zm-6.272 8.38a.434.434 0 1 1 .603-.624.434.434 0 0 1-.603.625Z"
				fill="#3c434a"
			/>
		</svg>
	),
	[ JETPACK_TAG_FOR_SMALL_SITES ]: (
		<svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				fillRule="evenodd"
				clipRule="evenodd"
				d="M1.66634 1.66669H8.33301C8.5171 1.66669 8.66634 1.81593 8.66634 2.00002V10C8.66634 10.1841 8.5171 10.3334 8.33301 10.3334H1.66634C1.48225 10.3334 1.33301 10.1841 1.33301 10V2.00002C1.33301 1.81593 1.48225 1.66669 1.66634 1.66669ZM8.33301 0.666687H1.66634C0.929962 0.666687 0.333008 1.26364 0.333008 2.00002V10C0.333008 10.7364 0.929961 11.3334 1.66634 11.3334H8.33301C9.06939 11.3334 9.66634 10.7364 9.66634 10V2.00002C9.66634 1.26364 9.06939 0.666687 8.33301 0.666687ZM7.66634 3.16669H2.33301V4.16669H7.66634V3.16669ZM2.33301 5.33335H7.66634V6.33335H2.33301V5.33335ZM6.33301 7.50002H2.33301V8.50002H6.33301V7.50002Z"
				fill="#1E1E1E"
			/>
		</svg>
	),
	[ JETPACK_TAG_FOR_ALL_SITES ]: (
		<svg width="12" height="12" fill="none" xmlns="http://www.w3.org/2000/svg">
			<path
				d="M6 0C2.727 0 0 2.66 0 6c0 3.273 2.66 6 6 6 3.273 0 6-2.66 6-6S9.273 0 6 0Zm4.432 3.75H8.659c-.34-1.023-.75-1.91-1.295-2.59a5.055 5.055 0 0 1 3.068 2.59Zm.477 2.182c0 .409-.068.818-.136 1.227H8.795c.069-.409.069-.818.069-1.227 0-.41-.069-.818-.069-1.227h1.978c.136.409.136.818.136 1.227ZM6 10.5c-.682-.477-1.227-1.295-1.568-2.386h3.136C7.228 9.204 6.682 10.09 6 10.5ZM4.227 7.16c-.068-.41-.068-.75-.068-1.228 0-.41.068-.818.068-1.227h3.546c.068.409.068.75.068 1.227 0 .477-.068.818-.068 1.227H4.227ZM1.091 5.931c0-.41.068-.818.136-1.227h1.978c-.069.409-.069.818-.069 1.227 0 .409.069.818.069 1.227H1.227c-.136-.409-.136-.818-.136-1.227ZM6 1.364c.682.477 1.227 1.295 1.568 2.386H4.432c.34-1.09.886-1.977 1.568-2.386Zm-1.364-.205c-.545.682-.954 1.568-1.227 2.591H1.57a5.055 5.055 0 0 1 3.067-2.59ZM1.568 8.182h1.773c.273 1.023.682 1.909 1.227 2.522-1.227-.409-2.386-1.363-3-2.522Zm5.796 2.522c.545-.681.954-1.5 1.227-2.522h1.773c-.546 1.159-1.637 2.114-3 2.522Z"
				fill="#3c434a"
			/>
		</svg>
	),
};
